package com.tony.dao;

import com.tony.po.TonyUser;
import org.beetl.sql.core.annotatoin.SqlStatement;
import org.beetl.sql.core.mapper.BaseMapper;

public interface TonyUserDao extends BaseMapper<TonyUser> {
    @SqlStatement(params = "name")
    TonyUser selectByName(String name);

    @SqlStatement(params = "tonyUser")
    TonyUser selectByObj(TonyUser tonyUser);
}
